package database

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string
	Password string
	Role     bool
	Token    string
}

// Sort 文章分类
type Sort struct {
	gorm.Model
	SortIndex int
	UrlName   string
	Name      string
}

// ArticleContent 文章内容
type ArticleContent struct {
	gorm.Model
	Title   string
	Class   string
	Content string
	Author  string
}

type ArticleContentList struct {
	ID      uint
	Title   string
	Class   string
	Content string
	Author  string
}
